package cn.qkfintech;

import android.annotation.SuppressLint;
import android.app.Application;
import android.content.Context;

import com.qmuiteam.qmui.arch.QMUISwipeBackActivityManager;

/**
 * @author liuhe
 * @date 2020/03/18
 */
public class VisitorApp extends Application {

    @SuppressLint("StaticFieldLeak")
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        QMUISwipeBackActivityManager.init(this);
    }

    public static Context getContext() {
        return context;
    }

}
